import { createRouter,createWebHistory,RouteParamsRaw } from "vue-router"

const routes : Array<RouteParamsRaw> = [
    {
        path: '/',
        name: 'Login',
        component: () => import('../components/Login.vue')
    },
    {
        path:'/UserLogin',
        name:'UserLogin',
        component: () => import('../components/UserLogin.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes,
})

export default router
